﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security;

namespace PurpleKnife.Library
{
    [Serializable]
    public class pkSwitch : pkTreeElement
    {
        // TCP Endpoint/Port/Socket for SSH access 
        public string SSHHost { get; set; }
        public int SSHPort { get; set; }
        // SSH Username
        public string SSHUserName { get; set; }
        // SSH Password
        public string SSHPassword { set; get; }
        // SSH Key Fingerprint
        public string SSHKeyFingerprint { set; get; }
        // SSH Connection and Command Timeout
        public TimeSpan SSHConnectionTimeout { set; get; }
        public TimeSpan SSHCommandTimeout { set; get; }
        // Status
        public pkSwitchStatus Status { set; get; }
        // Switch Info
        public pkSwitchInfo Information { set; get; }
        // enums
        public enum pkSwitchStatus
        {
            Unknown = 0,
            Ok = 1,
            Warning = 2,
            Error = 3
        }
    }


}
